<form name="myForm">
	<fieldset>
		<legend>Compose article</legend>
		<div class="form-group" ng-class="{error: myForm.date.$invalid}">
			<label>Today</label>
			<input class="form-control input-small" type="text" name="date" ng-model="project.date" required>
		</div>
		<div class="form-group" ng-class="{error: myForm.title.$invalid}">
			<label>Title</label>
			<input class="form-control input-small" type="text" name="title" ng-model="project.title" required>
		</div>
		<div class="form-group" ng-class="{error: myForm.author.$invalid}">
			<label>Author</label>
			<input class="form-control input-small" type="text" name="author" ng-model="project.author" required>
		</div>
		<div class="form-group" ng-class="{error: myForm.meta.$invalid}">
			<label>Meta Content</label>
			<input class="form-control input-small" type="text" name="meta" ng-model="project.meta" required>
		</div>
		<div class="form-group" ng-class="{error: myForm.content.$invalid}">
			<label>Detail Content</label>
			<textarea ck-editor ng-model="project.content" name="content"></textarea>
		</div>
		<button ng-click="save()" ng-disabled="isClean() || myForm.$invalid" class="btn btn-primary">Save</button>
		<button ng-click="remove()" ng-show="project.id" class="btn btn-danger">Delete</button>
		<a href="#/" class="btn btn-default">Cancel</a>
	</fieldset>
</form>